<form action="?delmsg=1" method="POST">
{include file="style_header.tpl"}
  <div align="center">
  <table class="border" summary="جدول" cellspacing="1" width="70%">
    {section name=idx loop=$messages_rows}
    <tr>
      <td class="row1" width="25%">{$messages_rows[idx].name}</td>
      <td class="row1" width="65%"><a href="contactus.php?showmsg=1&id={$messages_rows[idx].id}">{$messages_rows[idx].title}</a></td>
      <td class="row1" width="10%"><input name="id[]" type="checkbox" value="{$messages_rows[idx].id}_{$messages_rows[idx].attach}"></td>
      {if $messages_rows[idx].new eq 1}
      <td class="row1" width="10%"><font color="#FF0000"><b>جديد</b></font></td>
      {/if}
    </tr>
    {/section}
  </table>

 <br />

  <input class="button" type="button" onclick="makeUncheck(this.form)" value="الغاء التحديد">
  <input class="button" type="button" onclick="makeCheck(this.form)" value="حدد الكل">
  <input class="button" type="submit" value="حذف">
  </div>
</form>
{include file="style_footer.tpl"}